package com.sm.healthy.model

import com.sm.healthy.base.App
import me.hgj.jetpackmvvm.base.viewmodel.BaseViewModel

class HistoryOxygenModel : BaseViewModel() {

    private val dao = App.database.oxygenDao()

    fun getAllOxygenList() = dao.getOxygen()
    fun getOxygenByTime(before: Long, after: Long) = dao.getOxygenByTime(before, after)


}